package o;

import o.fyk.c;
import o.fyk.e;

public class fyq {
    static final /* synthetic */ boolean ʻ = (!fyq.class.desiredAssertionStatus());
    public static int ˊ = 0;
    public static int ˋ = 0;
    public static int ˏ = 0;
    public static int ॱ = 0;
    private final fyj ʼ = new fyj();
    private final e ʽ = new e();
    private final fzr ˊॱ = new fzr();
    private final int[] ˋॱ = new int[2];
    public int ˎ = 0;
    private final fys ˏॱ = new fys();
    private final fym ͺ = new fym();
    private final fzr ॱˊ = new fzr();
    private final gaz ॱˋ;
    private final fzn ॱॱ = new fzn();
    private final fzn ᐝ = new fzn();

    public static class a {
        public d ˋ;
        public float ॱ;
    }

    public static class b {
        public final c ˊ = new c();
        public final c ˋ = new c();
        public final fzr ˎ = new fzr();
        public final fzr ˏ = new fzr();
        public float ॱ;
    }

    public enum d {
        UNKNOWN,
        FAILED,
        OVERLAPPED,
        TOUCHING,
        SEPARATED
    }

    public fyq(gaz o_gaz) {
        this.ॱˋ = o_gaz;
    }

    /* JADX WARNING: inconsistent code. */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void ˎ(o.fyq.a r24, o.fyq.b r25) {
        /*
        r23 = this;
        r0 = r23;
        r2 = r0.ˎ;
        r2 = r2 + 1;
        r0 = r23;
        r0.ˎ = r2;
        r2 = o.fyq.d.UNKNOWN;
        r0 = r24;
        r0.ˋ = r2;
        r0 = r25;
        r2 = r0.ॱ;
        r0 = r24;
        r0.ॱ = r2;
        r0 = r25;
        r4 = r0.ˊ;
        r0 = r25;
        r6 = r0.ˋ;
        r0 = r23;
        r2 = r0.ˊॱ;
        r0 = r25;
        r3 = r0.ˏ;
        r2.ˊ(r3);
        r0 = r23;
        r2 = r0.ॱˊ;
        r0 = r25;
        r3 = r0.ˎ;
        r2.ˊ(r3);
        r0 = r23;
        r2 = r0.ˊॱ;
        r2.ˏ();
        r0 = r23;
        r2 = r0.ॱˊ;
        r2.ˏ();
        r0 = r25;
        r10 = r0.ॱ;
        r2 = r4.ˊ;
        r3 = r6.ˊ;
        r2 = r2 + r3;
        r3 = o.fzo.ॱˊ;
        r5 = 1077936128; // 0x40400000 float:3.0 double:5.325712093E-315;
        r7 = o.fzo.ॱˊ;
        r5 = r5 * r7;
        r2 = r2 - r5;
        r17 = o.fzm.ˎ(r3, r2);
        r2 = 1048576000; // 0x3e800000 float:0.25 double:5.180653787E-315;
        r3 = o.fzo.ॱˊ;
        r18 = r2 * r3;
        r2 = ʻ;
        if (r2 != 0) goto L_0x006d;
    L_0x0063:
        r2 = (r17 > r18 ? 1 : (r17 == r18 ? 0 : -1));
        if (r2 > 0) goto L_0x006d;
    L_0x0067:
        r2 = new java.lang.AssertionError;
        r2.<init>();
        throw r2;
    L_0x006d:
        r8 = 0;
        r2 = 0;
        r0 = r23;
        r3 = r0.ʽ;
        r5 = 0;
        r3.ˋ = r5;
        r0 = r23;
        r3 = r0.ʼ;
        r0 = r25;
        r5 = r0.ˊ;
        r3.ˏ = r5;
        r0 = r23;
        r3 = r0.ʼ;
        r0 = r25;
        r5 = r0.ˋ;
        r3.ॱ = r5;
        r0 = r23;
        r3 = r0.ʼ;
        r5 = 0;
        r3.ˊ = r5;
        r9 = r2;
    L_0x0092:
        r0 = r23;
        r2 = r0.ˊॱ;
        r0 = r23;
        r3 = r0.ᐝ;
        r2.ˏ(r3, r8);
        r0 = r23;
        r2 = r0.ॱˊ;
        r0 = r23;
        r3 = r0.ॱॱ;
        r2.ˏ(r3, r8);
        r0 = r23;
        r2 = r0.ʼ;
        r0 = r23;
        r3 = r0.ᐝ;
        r2.ˎ = r3;
        r0 = r23;
        r2 = r0.ʼ;
        r0 = r23;
        r3 = r0.ॱॱ;
        r2.ˋ = r3;
        r0 = r23;
        r2 = r0.ॱˋ;
        r2 = r2.ॱˊ();
        r0 = r23;
        r3 = r0.ͺ;
        r0 = r23;
        r5 = r0.ʽ;
        r0 = r23;
        r7 = r0.ʼ;
        r2.ˏ(r3, r5, r7);
        r0 = r23;
        r2 = r0.ͺ;
        r2 = r2.ˏ;
        r3 = 0;
        r2 = (r2 > r3 ? 1 : (r2 == r3 ? 0 : -1));
        if (r2 > 0) goto L_0x00f2;
    L_0x00de:
        r2 = o.fyq.d.OVERLAPPED;
        r0 = r24;
        r0.ˋ = r2;
        r2 = 0;
        r0 = r24;
        r0.ॱ = r2;
    L_0x00e9:
        r2 = ˏ;
        r2 = o.fzm.ॱ(r2, r9);
        ˏ = r2;
        return;
    L_0x00f2:
        r0 = r23;
        r2 = r0.ͺ;
        r2 = r2.ˏ;
        r3 = r17 + r18;
        r2 = (r2 > r3 ? 1 : (r2 == r3 ? 0 : -1));
        if (r2 >= 0) goto L_0x0109;
    L_0x00fe:
        r2 = o.fyq.d.TOUCHING;
        r0 = r24;
        r0.ˋ = r2;
        r0 = r24;
        r0.ॱ = r8;
        goto L_0x00e9;
    L_0x0109:
        r0 = r23;
        r2 = r0.ˏॱ;
        r0 = r23;
        r3 = r0.ʽ;
        r0 = r23;
        r5 = r0.ˊॱ;
        r0 = r23;
        r7 = r0.ॱˊ;
        r2.ˋ(r3, r4, r5, r6, r7, r8);
        r7 = 0;
        r2 = 0;
        r3 = r10;
    L_0x011f:
        r0 = r23;
        r5 = r0.ˏॱ;
        r0 = r23;
        r11 = r0.ˋॱ;
        r15 = r5.ˎ(r11, r3);
        r5 = r17 + r18;
        r5 = (r15 > r5 ? 1 : (r15 == r5 ? 0 : -1));
        if (r5 <= 0) goto L_0x0149;
    L_0x0131:
        r2 = o.fyq.d.SEPARATED;
        r0 = r24;
        r0.ˋ = r2;
        r0 = r24;
        r0.ॱ = r10;
        r2 = 1;
        r3 = r2;
    L_0x013d:
        r2 = r9 + 1;
        r5 = ˋ;
        r5 = r5 + 1;
        ˋ = r5;
        if (r3 == 0) goto L_0x0213;
    L_0x0147:
        r9 = r2;
        goto L_0x00e9;
    L_0x0149:
        r5 = r17 - r18;
        r5 = (r15 > r5 ? 1 : (r15 == r5 ? 0 : -1));
        if (r5 <= 0) goto L_0x0152;
    L_0x014f:
        r8 = r3;
        r3 = r7;
        goto L_0x013d;
    L_0x0152:
        r0 = r23;
        r5 = r0.ˏॱ;
        r0 = r23;
        r11 = r0.ˋॱ;
        r12 = 0;
        r11 = r11[r12];
        r0 = r23;
        r12 = r0.ˋॱ;
        r13 = 1;
        r12 = r12[r13];
        r14 = r5.ॱ(r11, r12, r8);
        r5 = r17 - r18;
        r5 = (r14 > r5 ? 1 : (r14 == r5 ? 0 : -1));
        if (r5 >= 0) goto L_0x017b;
    L_0x016e:
        r2 = o.fyq.d.FAILED;
        r0 = r24;
        r0.ˋ = r2;
        r0 = r24;
        r0.ॱ = r8;
        r2 = 1;
        r3 = r2;
        goto L_0x013d;
    L_0x017b:
        r5 = r17 + r18;
        r5 = (r14 > r5 ? 1 : (r14 == r5 ? 0 : -1));
        if (r5 > 0) goto L_0x018e;
    L_0x0181:
        r2 = o.fyq.d.TOUCHING;
        r0 = r24;
        r0.ˋ = r2;
        r0 = r24;
        r0.ॱ = r8;
        r2 = 1;
        r3 = r2;
        goto L_0x013d;
    L_0x018e:
        r5 = 0;
        r11 = r3;
        r12 = r8;
        r13 = r5;
    L_0x0192:
        r5 = r13 & 1;
        r16 = 1;
        r0 = r16;
        if (r5 != r0) goto L_0x01f1;
    L_0x019a:
        r5 = r17 - r14;
        r16 = r11 - r12;
        r5 = r5 * r16;
        r16 = r15 - r14;
        r5 = r5 / r16;
        r5 = r5 + r12;
    L_0x01a5:
        r16 = r13 + 1;
        r13 = ˊ;
        r13 = r13 + 1;
        ˊ = r13;
        r0 = r23;
        r13 = r0.ˏॱ;
        r0 = r23;
        r0 = r0.ˋॱ;
        r19 = r0;
        r20 = 0;
        r19 = r19[r20];
        r0 = r23;
        r0 = r0.ˋॱ;
        r20 = r0;
        r21 = 1;
        r20 = r20[r21];
        r0 = r19;
        r1 = r20;
        r13 = r13.ॱ(r0, r1, r5);
        r19 = r13 - r17;
        r19 = o.fzm.ˏ(r19);
        r19 = (r19 > r18 ? 1 : (r19 == r18 ? 0 : -1));
        if (r19 >= 0) goto L_0x01f8;
    L_0x01d7:
        r3 = r5;
    L_0x01d8:
        r5 = ॱ;
        r0 = r16;
        r5 = o.fzm.ॱ(r5, r0);
        ॱ = r5;
        r2 = r2 + 1;
        r5 = o.fzo.ˊॱ;
        if (r2 == r5) goto L_0x0227;
    L_0x01e8:
        r5 = 50;
        r0 = r16;
        if (r0 != r5) goto L_0x011f;
    L_0x01ee:
        r3 = r7;
        goto L_0x013d;
    L_0x01f1:
        r5 = 1056964608; // 0x3f000000 float:0.5 double:5.222099017E-315;
        r16 = r12 + r11;
        r5 = r5 * r16;
        goto L_0x01a5;
    L_0x01f8:
        r19 = (r13 > r17 ? 1 : (r13 == r17 ? 0 : -1));
        if (r19 <= 0) goto L_0x0210;
    L_0x01fc:
        r12 = r13;
        r13 = r15;
        r22 = r11;
        r11 = r5;
        r5 = r22;
    L_0x0203:
        r14 = 50;
        r0 = r16;
        if (r0 == r14) goto L_0x01d8;
    L_0x0209:
        r14 = r12;
        r15 = r13;
        r13 = r16;
        r12 = r11;
        r11 = r5;
        goto L_0x0192;
    L_0x0210:
        r11 = r12;
        r12 = r14;
        goto L_0x0203;
    L_0x0213:
        r3 = 20;
        if (r2 != r3) goto L_0x0224;
    L_0x0217:
        r3 = o.fyq.d.FAILED;
        r0 = r24;
        r0.ˋ = r3;
        r0 = r24;
        r0.ॱ = r8;
        r9 = r2;
        goto L_0x00e9;
    L_0x0224:
        r9 = r2;
        goto L_0x0092;
    L_0x0227:
        r3 = r7;
        goto L_0x013d;
        */
        throw new UnsupportedOperationException("Method not decompiled: o.fyq.ˎ(o.fyq$a, o.fyq$b):void");
    }
}
